package com.david.mydemo.ctl_ftp.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;

// XmlType指定输出顺序
@XmlType(propOrder = {
        "appLogId", "sessionId", "resourceKind", "identityName", "resourceCode",
        "subAccountName", "idrCreationTime", "operateTime", "operateResult", "opLevelId",
        "clientNetworkAddress", "clientAddress", "serverAddress", "serverPort", "moduleId",
        "moduleName", "opTypeId", "opTypeName", "operateContent"})
public class AaaaLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private String appLogId; // 日志标识uuid
    private String sessionId; // 会话标识uuid
    private String resourceKind; // 资源类别，1：应用
    private String identityName; // 应用资源信息
    private String resourceCode; // 资源编码
    private String idrCreationTime; // 日志发送时间
    private String subAccountName; // 登录子账号
    private String operateTime; // 日志创建时间
    private String operateResult; // 数字,0-成功1-失败
    private String opLevelId; // 5-严重、4-警告、3-敏感、2-重要、1-一般';
    private String clientNetworkAddress; // 1个客户端ip
    private String clientAddress; // 1个客户端ip
    private String serverAddress; // 应用服务器ip
    private String serverPort; // 服务对外开放访问端口
    private String moduleId; // 系统内部菜单id
    private String moduleName; // 系统内部菜单名称
    private String opTypeId; // 需要应用梳理操作类型后确认，按4A的约定传值
    private String opTypeName; // 系统内部操作名称，例如系统登录
    private String operateContent; // 操作内容:Xxx为/给/对xxx进行xxx操作

    @XmlElement(name = "APP_LOG_ID")
    public String getAppLogId() {
        return appLogId;
    }

    public void setAppLogId(String appLogId) {
        this.appLogId = appLogId;
    }

    @XmlElement(name = "SESSION_ID")
    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    @XmlElement(name = "RESOURCE_KIND")
    public String getResourceKind() {
        return resourceKind;
    }

    public void setResourceKind(String resourceKind) {
        this.resourceKind = resourceKind;
    }

    @XmlElement(name = "IDENTITY_NAME")
    public String getIdentityName() {
        return identityName;
    }

    public void setIdentityName(String identityName) {
        this.identityName = identityName;
    }

    @XmlElement(name = "RESOURCE_CODE")
    public String getResourceCode() {
        return resourceCode;
    }

    public void setResourceCode(String resourceCode) {
        this.resourceCode = resourceCode;
    }

    @XmlElement(name = "IDR_CREATION_TIME")
    public String getIdrCreationTime() {
        return idrCreationTime;
    }

    public void setIdrCreationTime(String idrCreationTime) {
        this.idrCreationTime = idrCreationTime;
    }

    @XmlElement(name = "SUB_ACCOUNT_NAME")
    public String getSubAccountName() {
        return subAccountName;
    }

    public void setSubAccountName(String subAccountName) {
        this.subAccountName = subAccountName;
    }

    @XmlElement(name = "OPERATE_TIME")
    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }

    @XmlElement(name = "OPERATE_RESULT")
    public String getOperateResult() {
        return operateResult;
    }

    public void setOperateResult(String operateResult) {
        this.operateResult = operateResult;
    }

    @XmlElement(name = "OP_LEVEL_ID")
    public String getOpLevelId() {
        return opLevelId;
    }

    public void setOpLevelId(String opLevelId) {
        this.opLevelId = opLevelId;
    }

    @XmlElement(name = "CLIENT_NETWORK_ADDRESS")
    public String getClientNetworkAddress() {
        return clientNetworkAddress;
    }

    public void setClientNetworkAddress(String clientNetworkAddress) {
        this.clientNetworkAddress = clientNetworkAddress;
    }

    @XmlElement(name = "CLIENT_ADDRESS")
    public String getClientAddress() {
        return clientAddress;
    }

    public void setClientAddress(String clientAddress) {
        this.clientAddress = clientAddress;
    }

    @XmlElement(name = "SERVER_ADDRESS")
    public String getServerAddress() {
        return serverAddress;
    }

    public void setServerAddress(String serverAddress) {
        this.serverAddress = serverAddress;
    }

    @XmlElement(name = "SERVER_PORT")
    public String getServerPort() {
        return serverPort;
    }

    public void setServerPort(String serverPort) {
        this.serverPort = serverPort;
    }

    @XmlElement(name = "MODULE_ID")
    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    @XmlElement(name = "MODULE_NAME")
    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    @XmlElement(name = "OP_TYPE_ID")
    public String getOpTypeId() {
        return opTypeId;
    }

    public void setOpTypeId(String opTypeId) {
        this.opTypeId = opTypeId;
    }

    @XmlElement(name = "OP_TYPE_NAME")
    public String getOpTypeName() {
        return opTypeName;
    }

    public void setOpTypeName(String opTypeName) {
        this.opTypeName = opTypeName;
    }

    @XmlElement(name = "OPERATE_CONTENT")
    public String getOperateContent() {
        return operateContent;
    }

    public void setOperateContent(String operateContent) {
        this.operateContent = operateContent;
    }
}
